home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19970104-19970326
/
000378_news@columbia.edu _Fri Mar 7 17:14:04 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-04-23
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA10832
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 7 Mar 1997 17:14:04 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA27780
for kermit.misc@watsun; Fri, 7 Mar 1997 17:14:03 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: 'cd' probs in c-kerm 6.0.192
Date: 7 Mar 1997 22:13:59 GMT
Organization: Columbia University
Lines: 34
Message-ID: <5fq3v7$j6a$1@apakabar.cc.columbia.edu>
References: <5fprmh$e7b@hopper.acm.ORG>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:6713
In article <5fprmh$e7b@hopper.acm.ORG>, Aaron Burns <aaronb@ACM.ORG> wrote:
: Howdy. I'm writing a kermit script to recieve files from
: sources outside our company. We're running C-Kermit
: 6.0.192 6 Sep 96 under Alpha, VMS 6.2.
:
: In the scripts, we use 'cd \$(ef_intake_dir)', where
: ef_intake_dir is "DRB0:[bellt33.syim.intake]". The
: cd fails - because it doesn't understand "DRB0:".
:
: I've confirmed this by trying cd's manually. Without the
: drive spec, it works find. With the drive spec it fails
: every time.
:
It's a bug. Here's the description:
"In the VMS-specific file i/o module, CKVFIO.C, routine isdir(), a struct
that contained a pointer to a malloc'd buffer was being used after the
buffer was freed. In many cases this does not cause a problem because the
material is still actually there, but in some cases the free() implementation
actually wipes the buffer clean, causing the operation to fail. The most
common symptom was failure of CD / SET DEFAULT in OpenVMS Alpha 6.2 or later
that has been updated with ALPLIBR04_070, "Fix realloc fragmentation problem,"
LIBRTL patch (this was discovered by Lucas Hart). The fix is to postpone the
free() call till after we are finished using the struct:..."
The source-level patch is available at:
ftp://kermit.columbia.edu/kermit/f/PATCHES
At some point in the (hopefully not-too-distant) future, there will be a
maintenance release of C-Kermit 6.0 with all the patches installed, for the
benefit of those who can't, or would rather not, install source-level patches.
- Frank